<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
//定义标题
$nums=149;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='96' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<div id="MainBody">

<form name="save" method="post" action="?ac=bbsclass&fileurl=bbs&do=update">
<div id="CodeWrap">
<div id="TabSwitch">
<ul>
<li class="active"><a href="admin.php?ac=bbsclass&fileurl=bbs">版块设置</a></li>

</ul>

 
</div>
<div id="CodeShowBlockWrap">
<div id="QueryBar">
<div id="FilterWrap">
<label for="FilterStatus"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="22%" align="center"><input type="submit" name="Submit" value="直接保存编辑后信息" class="submit"></td>
    <td width="78%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
</table>
</label>
</div>
</div>

<div id="CodeShowBlock">
<table cellpadding="0" cellspacing="0" class="data-box"><thead>
<tr class="border-in">
<th width="36"><div>序号</div></th>
<th class="title"><div>名称</div></th>
<th class="scale"><div>版主</div></th>
<th class="scale"><div>类型</div></th>
<th class="scale"><div>发布人</div></th>
<th class="scale"><div>发布时间</div></th>
<th class="status"><div>操作</div></th>
</tr>
</thead><tbody>

<?foreach ($result as $row) {?>
<tr class="data-box-row"><td width="36" align="center"><?=$row['id']?></td>
<td class="title"><input type="text" name="name[<?=$row['id']?>]" value="<?=$row['name']?>" /></td>
<td class="scale"><input type="text" name="classadmin[<?=$row['id']?>]" class="BigInput" size="30" value="<?=$row['classadmin']?>" /></td>
<td class="scale">
<select name="type[<?=$row['id']?>]">
  <option value="1" <?php if($row['type']=='1'){?>selected="selected"<?php }?>>发贴直接显示</option>
   <option value="2" <?php if($row['type']=='2'){?>selected="selected"<?php }?>>发贴需要审批</option>
</select>
</td>
<td class="scale"><?=GET_INC_USER_NAME($row['uid'])?></td>
<td class="scale"><?=$row['date']?></td>
<td class="scale"><a href="?ac=bbsclass&fileurl=bbs&do=delete&id=<?=$row['id']?>" >删除</a></td>
					
						
						</tr>
<?}?>
<tr class="data-box-row"><td width="36" align="center"></td>
<td class="title"></td>
<td class="scale"></td>
					
						
						</tr>

</tbody></table>
 
</div>
<div id="PageControl">
<div class="page-control">
<div class="border-in">
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="80%">名称:&nbsp;<input type="text" name="newname" value="" />&nbsp;&nbsp;&nbsp;&nbsp;版主:&nbsp;
	  <?php
	  get_oa_member_public(1,"newclassadmin","","+选择版主",80,20)
	  ?>&nbsp;&nbsp;&nbsp;&nbsp;类型:&nbsp;<select name="newtype">
  <option value="1" selected>发贴直接显示</option>
   <option value="2">发贴需要审批</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit" value="新 增" class="submit"></td>
    <td width="20%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
</table>
  

</div>
</div>
</div>
</div>
</div>
 </form>
</div>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
